package com.whfp.afs330h_sdk.bean;

import java.util.List;

/**
 * 设备AFS330H检测结果实体类
 */
public class BLE_TestingResultBean {

    /**
     * status : 0
     * title : wvC3yA==
     * year : 2019
     * month : 8
     * validMonth : 0
     * item : [{"name":"wvC3yA==","value":"PDAuMTA=","unit":"bmcvbWc=","judgement":0,"origin":-3.4904325008392334,"resp":18.55696487426758,"tValue":22.13606643676758,"cValue":1.19287109375}]
     */

    //状态 0：正常 1：C线异常 -2：C线异常
    private int status;
    //项目名
    private String title;
    //年份
    private int year;
    //月份
    private int month;
    //有效月数
    private int validMonth;
    //测试记录
    private List<ItemBean> item;
    //原始数据
    private List<Integer> curve;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getValidMonth() {
        return validMonth;
    }

    public void setValidMonth(int validMonth) {
        this.validMonth = validMonth;
    }

    public List<ItemBean> getItem() {
        return item;
    }

    public void setItem(List<ItemBean> item) {
        this.item = item;
    }

    public List<Integer> getCurve() {
        return curve;
    }

    public void setCurve(List<Integer> curve) {
        this.curve = curve;
    }

    public static class ItemBean {
        /**
         * name : wvC3yA==
         * value : PDAuMTA=
         * unit : bmcvbWc=
         * judgement : 0
         * origin : -3.4904325008392334
         * resp : 18.55696487426758
         * tValue : 22.13606643676758
         * cValue : 1.19287109375
         */
        //项目名
        private String name;
        //结果
        private String value;
        //单位
        private String unit;
        //判定
        private int judgement;
        //原始值
        private double origin;
        //反应值
        private double resp;
        //T值
        private double tValue;
        //C值
        private double cValue;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getJudgement() {
            return judgement;
        }

        public void setJudgement(int judgement) {
            this.judgement = judgement;
        }

        public double getOrigin() {
            return origin;
        }

        public void setOrigin(double origin) {
            this.origin = origin;
        }

        public double getResp() {
            return resp;
        }

        public void setResp(double resp) {
            this.resp = resp;
        }

        public double getTValue() {
            return tValue;
        }

        public void setTValue(double tValue) {
            this.tValue = tValue;
        }

        public double getCValue() {
            return cValue;
        }

        public void setCValue(double cValue) {
            this.cValue = cValue;
        }
    }
}
